<div class="pageContent">
	<form method="post" action="user/add" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<div class="pageFormContent" layoutH="56">
			<p>
				<label>登录邮箱：</label>
				<input name="email" type="text" class="required" size="30"/>
			</p>
			<p>
				<label>名称：</label>
				<input name="name" class="required" type="text"/>
			</p>
			<p>
				<label>所属部门：</label>
					<#if departments??>
						<select name="department.id">
							<#list departments as department>
								<option value="${department.id}">${department.name}</option>
							</#list>
						</select>
					</#if>
			</p>
			<p>
				<label>初始密码：</label>
				<input type="text" name="password" value="888888" readonly="readonly" class="textInput required"/>
			</p>
			<p>
				<label>账户类型：</label>
				<select name="role">
					<option selected="selected" value="1">普通成员</option>
					<option value="0">管理员</option>
				</select>
			</p>
		</div>
		<div class="formBar">
			<ul>
				<!--<li><a class="buttonActive" href="javascript:;"><span>创建</span></a></li>-->
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">创建</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>